;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Common envirument setting

;; setup default path

(setenv "LANG" "C")
;; (set-locale-environment  "English")

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; global var defination, if not used, please set it nil
;; user home
(defvar HOME (getenv "HOME"))
;; where emacs config stored
(defvar CFGHOME "~/workdoc/emacs")
(defvar WORKSPACE "~/workspace")
(defvar WORKDOC "~/workdoc")
(defvar CYGWIN-HOME nil)
;; where emacs installed
(defvar EMACS-HOME "g:/emacs-23")
(defvar PUBLISH-DIR "~/html_publish")

;; add new load path
(add-to-list 'load-path  (concat CFGHOME "/site-lisp"))
(add-to-list 'load-path  (concat CFGHOME "/lisp"))

(load-file (concat CFGHOME "/config/cyliu-util.el"))
(load-file (concat CFGHOME "/config/01init.el"))
(load-file (concat CFGHOME "/config/02frame.el"))
;;(load-file (concat CFGHOME "/config/03muse.el"))
(load-file (concat CFGHOME "/config/04ide.el"))
;;(load-file (concat CFGHOME "/config/05ecb.el"))
;;(load-file (concat CFGHOME "/config/06vc.el"))
(load-file (concat CFGHOME "/config/08org.el"))
(load-file (concat CFGHOME "/config/cygwin.el"))

(cyliu-w32-frame-maximize)
